<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>资源首页</title>
  <style>
    html,
    body {
      height: 100%;
      background: #8d0ead;
      color: #fff;
      margin: 0;
      padding: 0;
    }

    .container {
      margin: auto;
      max-width: 1200px;
      position: relative;
      height: 100%;
      padding: 20px;
      box-sizing: border-box;

      display: flex;
      justify-content: center;
      flex-direction: column;
    }

    .row {
      display: flex;
      align-items: center;
    }

    .hero {
      width: 500px;
      height: 500px;
      transition: 500ms;
    }

    .hero-content {
      margin-left: 20px;
      flex: 1;
    }

    .hero-img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
    }

    .hero-title {
      margin-left: -240px;
      background-color: #8d0ead;
      border-radius: 150px;
      padding: 25px 60px;
      padding-right: 10px;

      font-size: 60px;
      font-weight: bold;
      line-height: 70px;
      text-decoration: none;
      transition: 500ms;
    }

    .hero-title:hover {
      transform: scale(1.01);
    }

    .hero-intro {
      margin-top: 20px;
      font-size: 22px;
      line-height: 30px;
      transition: 500ms;
    }

    .hero-intro:hover {
      transform: scale(1.01);
    }

    .author {
      font-size: 20px;
      text-align: right;
      line-height: normal;
    }

    @media screen and (max-width: 991px) {
      .row {
        display: block;
      }

      .hero {
        margin: 0 auto;
        width: 400px;
        height: 400px;
      }

      .hero-content {
        margin-left: 0;
      }

      .hero-title {
        margin-left: 0;
        padding: 20px 0;
      }
    }

    @media screen and (max-width: 767px) {

      .hero {
        margin: 0 auto;
        width: 250px;
        height: 250px;
      }

      .hero-title {
        font-size: 32px;
        line-height: 36px;
      }

      .author {
        font-size: 16px;
      }

      .hero-intro {
        margin-top: 10px;
        font-size: 16px;
        line-height: 20px;
      }

    }
  </style>
</head>

<body>
  <div class="container">
    <div class="row">
      <div class="hero">
        <img src="//static.okeep.cn/Fg7qIjJcnGiVRdaUIX4N4wkAGyaF" class="hero-img">
      </div>
      <div class="hero-content">
        <div class="hero-title">
          <div>
            己所不欲，勿施于人。
          </div>
          <div class="author">
            -- 执笔写余生
          </div>
        </div>
        <div class="hero-intro">
          本网站主要是存储一些静态资源（图片、文件等），它解决了我写文章（特别是MarkDown格式）时图片资源存放的问题；它采用七牛云存储，主要是有一定的免费存储额度。
        </div>
      </div>
    </div>
  </div>
</body>

</html>